package org.geektime.web.mvc.controller;

import org.geektime.web.mvc.model.Data;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * REST 控制器（标记接口）
 *
 * @since 1.0
 */
public interface RestController extends Controller {

    <T> Data<T> execute(HttpServletRequest request, HttpServletResponse response);
}
